package com.wn.equipment;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author zhairenhao
 * @date 2022/10/19 10:28
 */
@EnableFeignClients   //启动OpenFeign远程调用
@EnableDiscoveryClient  //启用nacos客户端
//@EnableTransactionManagement //启动事务控制
//@EnableRabbit //启用消息队列
@SpringBootApplication
@MapperScan(basePackages = "com.wn.equipment.mapper")
public class EquipmentApplication {
    public static void main(String[] args) {
        SpringApplication.run(EquipmentApplication.class, args);
    }
}
